<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<!-- 嵌入式
    <script>
        alert('hello js!');
    </script> 
-->

<!-- 链入式 -->
 <!-- <script src="hello.js"></script> -->

 <!-- 行内式 -->
  <!-- onclick :点击事件 -->

  <input type="button" value="点我" onclick="alert('hello JavaScript0')">
</html>